﻿using DataModels.Enums.Community;
using SqlSugar;

namespace DataModels.Entities.Community
{
    [SugarTable]
    public class CommunityActivityParticipant
    {

        [SugarColumn(IsPrimaryKey = true)]
        public Guid UUID { get; set; } = Guid.NewGuid();

        /// <summary>
        /// 关联的活动ID
        /// </summary>
        public Guid CommunityActivitiesUUID { get; set; }

        /// <summary>
        /// 参与人姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 头像Url
        /// </summary>
        public string AvatarUrl { get; set; }

        public CommunityActivityParticipantStatus Status { get; set; } = CommunityActivityParticipantStatus.Registered;

        public DateTime CreateTime { get; set; } = DateTime.Now;

        public Guid CreateUserUUID { get; set; }
    }
}
